<template>
  <main id="bigMain">
<!--    左边抽屉-->
    <drawer></drawer>
    <top-bar></top-bar>
<!--    <palette></palette>-->
    <article>
      <transition name="fade">
        <router-view></router-view>
      </transition>

    </article>
    <footer>
      <p>CopyRight © 寻梦招聘校友圈</p>
      <p>2019-2020</p>
    </footer>

  </main>
</template>

<script>
import TopBar from "@/components/content/TopBar";
import Carousel from "@/components/conmmon/Carousel";
import Palette from "@/views/Home/Palette/index";
import Drawer from "@/components/content/Drawer";
export default {
  name: "index",
  components:{
    Drawer,
    TopBar,Carousel,Palette
  }
}
</script>

<style lang="stylus" scoped>
.fade-enter-active, .fade-leave-active {
  transition: all .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
#bigMain
  display flex
  flex-wrap wrap
  justify-content center
  background rgb(246,246,248)
article
  width 70%
  height auto
footer
  width 100%
  height 100px
  background #4b4b50
  color #52CCBA
  display flex
  justify-content center
  align-items center
  flex-direction column
  & p
    margin 0
    font-size 13px
</style>
